package demo01;

import java.util.Scanner;
//输入三个数字，求出它们的最大值，用三元运算符
public class homework01 {
    public static void main(String[] args){
        Scanner sc1=new Scanner(System.in);
        int num1=sc1.nextInt();
        int num2=sc1.nextInt();
        int num3=sc1.nextInt();
        System.out.println((num1>num2?num1:num2)>num3?(num1>num2?num1:num2):num3);
    }
}